<%-- 
    Document   : verVehiculo
    Created on : 19-jun-2009, 11:56:42
    Author     : Alberto
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" session="false" import="planner.Operations, domain.Vehiclecar"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>DOMECO</title>
        <link href="style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <%if (request.getSession(false) != null) {
       
        Vehiclecar v = new Operations().getVehiclecar(Integer.parseInt(request.getParameter("idCar")));
        
        %>
        <table align="center" width="1000" >
            <tr>
                <td>
                    <div id="menu" align="center"><jsp:include page="./menu principal.jsp"></jsp:include></div>
                    <br>
                    <div id="vehiculo" align="left" >
                        <table>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Componente</span></td>
                                <td><span id="blanco">Última Revisión</span></td>
                                <td><span id="blanco">Recomendación</span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Neumáticos</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Neumático Delantero Izquierdo</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getNeumdelizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Neumático Delantero Derecho</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getNeumdelder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Neumático Trasero Izquierdo</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getNeumtrasizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Neumático Trasero Derecho</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getNeumtrasder()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Frenos</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Líquido de Frenos</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getLiquidofrenos()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Pastillas de Frenos Delanteros</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getPastfrendel()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Pastillas de Frenos Traseros</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getPasfrentras()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Discos de Frenos</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getDiscofreno()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Aceites y Filtros</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Sintético</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getSintetico()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Semisintético</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getSemisintetico()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Mineral</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getMineral()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Bujías</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Cables de Bujías</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCablebujia()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Bujías</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getBujia()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Escobillas</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Líquido Limpiaparabrisas</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getLiquidlimpia()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Limpiaparabrisas Delanteros</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getLimpiadel()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Limpiaparabrisas Trasero</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getLimpiatras()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Otros Componentes</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Amortiguación / Suspensión</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getSuspension()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Líquido Refrigerante</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getLiquidrefrigerante()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Filtro de Aire</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getFiltroaire()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Batería</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getBateria()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Aceite Caja de Cambios</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getAceitecajacambios()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Correa de Distribución</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCorreadist()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Filtro de Combustible</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getFiltrocombust()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Airbag</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getAirbag()%></span></td>
                            </tr>

                        </table>
                    </div>

                    <div id="vehiculoLuces">
                        <table>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Componente</span></td>
                                <td><span id="blanco">Última Revisión</span></td>
                                <td><span id="blanco">Recomendación</span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Alumbrado Delantero Izquierdo</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Posición</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getPosiciondelizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Cruce</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCrucedelizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Carretera</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCarreteradelizq()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Alumbrado Delantero Derecho</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Posición</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getPosiciondelder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Cruce</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCrucedelder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Carretera</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCarreteradelder()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Alumbrado Trasero Izquierdo</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Posición</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getPosiciontrasizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Cruce</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCrucetrasizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Carretera</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCarreteratrasizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Freno</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getFrenotrasizq()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Marcha Atrás</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getAtrastrasizq()%></span></td>
                            </tr>
                            <tr style="background-color:#79A9D9">
                                <td><span id="blanco">Alumbrado Trasero Derecho</span></td>
                                <td><span id="blanco"></span></td>
                                <td><span id="blanco"></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Posición</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getPosiciontrasder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Cruce</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCrucetrasder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Carretera</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getCarreteratrasder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Freno</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getFrenotrasder()%></span></td>
                            </tr>
                            <tr style="background-color:#E3F1FF" align="center">
                                <td><span style="color:navy">Luces de Marcha Atrás</span></td>
                                <td><span style="color:navy">-</span></td>
                                <td><span style="color:navy"><%=v.getAtrastrasder()%></span></td>
                            </tr>
                        </table>
                    </div>
                    ---------------------------------------------------------------------------------
                    <h3>Recuerde realizar una revisión periódica de su vehículo.</h3>
                    <h4>Si lo desea puede seguir nuestra <a href="guiaMantenimiento.jsp"><font color="red">guía de mantenimiento</font>.</a></h4>

                    <div id="barraDer">
                        <div id="accesos">
                            <table align="center">
                                <tr ><td bgcolor="#79A9D9" align="center" valign="middle" width="235px"><span id="blanco">Operaciones</span><br></td></tr>
                            </table>
                            <% Integer in = Integer.parseInt(request.getParameter("idCar")); %>
                            <p align="center"><a href="./FrontController?redir=MC&idCar=<%=in%>" id="colorEvento"><span>Modificar Componente</span></a></p>
                        </div>
                    </div>
                    <div id="abajo" align="center"><p>&copy;   Domeco &mdash; Proyecto Informático A&ntilde;o 2009 </p></div>
                </td>
            </tr>
        </table>
        <%} else {%>
        <jsp:forward page="./index.jsp"></jsp:forward>
        <%}%>
    </body>
</html>
